using UnityEngine;
using System.Collections;

public class Gui : MonoBehaviour 
{
    public static Gui Instance;
    Texture2D tex;


	public string m_ProjectileBehavior;
	
    void Awake()
    {
        tex =(Texture2D) Resources.Load("Textures/viseur");
        Instance = this;
    }

	// Update is called once per frame

	void Update () 
	{
	
	}
	
	void OnGUI()
	{
			GUI.Label(new Rect(0.0f,0.0f,100.0f,40.0f),m_ProjectileBehavior);
            
            GUI.DrawTexture(new Rect(Screen.width/2.0f -16, Screen.height/2.0f - 16,32, 32), tex);
	}
   
}
